package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.CheckItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CheckItemDao {

    void add(CheckItem checkItem);

    Page<CheckItem> findPage(String queryString);

    long findCountByCheckId(Integer id);

    void delete(Integer id);

    CheckItem show(Integer id);

    void modify(CheckItem checkItem) throws  Exception;

    List<CheckItem> findAll() throws Exception;

   List<CheckItem> findCheckItemById()throws Exception;
}
